<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
    <%@include file="/include/header.html" %>
    <script type="text/javascript" src="${ctx}/appjs/parking/addParkingSupplier.js"></script>
</head>

<script type="text/javascript">
    $('#topLink', window.parent.document).html(function (i, origText) {
        return '<br>' +
            '<ol class="breadcrumb">' +
            '<li class="breadcrumb-item">' +
            '<a href="">主页</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a>道闸供应商</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a href="javascript:window.history.back()"><i class="fa fa-times"></i> 返回</a>' +
            '</li>' +
            '</ol>';
    });

</script>

<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <div class="columns pull-left">
                        <h5 class="font-bold">新增道闸供应商</h5>
                    </div>
                    <div class="ibox-tools">
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="frmParkingSupplier">
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">运营商：</label>
                            <div class="col-sm-8">
                                <input class="form-control" hidden id="tenantCode" name="tenantCode" value="${tenant.tenantCode}">
                                <input class="form-control" value="${tenant.tenantName}">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">供应商编码：</label>
                            <div class="col-sm-8">
                                <input class="form-control"  id="supplierCode" name="supplierCode" type="text">
                            </div>
                        </div>

                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">供应商名称：</label>
                            <div class="col-sm-8">
                                <input class="form-control" id="supplierName" name="supplierName" type="text">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">品牌名称：</label>
                            <div class="col-sm-8">
                                <input class="form-control" id="brandName" name="brandName" type="text">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">联系人：</label>
                            <div class="col-sm-8">
                                <input id="contactName" name="contactName" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">联系电话：</label>
                            <div class="col-sm-8">
                                <input class="form-control" id="phone" name="phone" type="text">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">地址：</label>
                            <div class="col-sm-8">
                                <input class="form-control" id="address" name="address" type="text">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">营业执照编码：</label>
                            <div class="col-sm-8">
                                <input class="form-control" id="license" name="license" type="text">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">法人：</label>
                            <div class="col-sm-8">
                                <input class="form-control" id="owner" name="owner" type="text">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">法人身份证：</label>
                            <div class="col-sm-8">
                                <input class="form-control" id="ownerId" name="ownerId" type="text">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">推送地址：</label>
                            <div class="col-sm-8">
                                <input class="form-control" id="url" name="url" type="text">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">接口名称：</label>
                            <div class="col-sm-8">
                                <input class="form-control" id="service" name="service" type="text">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">合作商：</label>
                            <div class="col-sm-8">
                                <input class="form-control" id="partner" name="partner" type="text">
                            </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-sm-3 col-form-label text-right">签名密钥：</label>
                            <div class="col-sm-8">
                                <input class="form-control" id="sigSecret" name="sigSecret" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-3 col-sm-offset-8 text-right">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    addParkingSupplier.init();
</script>
</body>
</html>
